{include file="static/appm/tpl_header.html" /}
<body>
<div class="container">
    <div class="weui-msg">
        <div class="weui-msg__icon-area"><i class="weui-icon-warn weui-icon_msg"></i></div>
        <div class="weui-msg__text-area">
            <h2 class="weui-msg__title">操作失败</h2>
            <p class="weui-msg__desc">内容详情，可根据实际需要安排，如果换行则不超过规定长度，居中展现<a href="javascript:void(0);">文字链接</a></p>
            <p class="weui-msg__desc"> :) <span id="timeout" class="text-danger">3</span> 秒后将自动返回上一页</p>
        </div>
        <div class="weui-msg__opr-area">
            <p class="weui-btn-area">
                <a href="javascript:history.back();" class="weui-btn weui-btn_primary">推荐操作</a>
                <a href="javascript:history.back();" class="weui-btn weui-btn_default">辅助操作</a>
            </p>
        </div>
        <div class="weui-msg__extra-area">
            <div class="weui-footer">
                <p class="weui-footer__links">
                    <a href="javascript:void(0);" class="weui-footer__link">版本号: v{$Think.config.setting.version}({$Think.config.setting.build})</a>
                </p>
                <p class="weui-footer__text">Copyright &copy; {$Think.config.setting.start}-{:date('Y');} {$Think.config.setting.organization}</p>
            </div>
        </div>
    </div>    
</div>
<script>
    (function () {
        var ctt = 3;
        var timerId = setInterval(function () {
            $('#timeout').text(ctt);
            if(ctt < 1){
                clearInterval(timerId);
                history.back();
            }else {
                ctt--;
            }
        }, 1000);
    }());
</script>
</body>
</html>